<template>
  <div>
    <div class="edit-banner" @click="bannerClick">
      <span>{{ left }}</span>
      <span><slot name="right"></slot></span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'EditInfoInput',
  methods: {
    bannerClick () {
      this.$emit('bannerClick')
    }
  },
  props: ['left']
}
</script>

<style lang="less" scoped>
.edit-banner {
  background-color: white;
  padding: 0.3125rem;
  font-size: 0.292rem;
  color: gray;
  border-bottom: 1px solid #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
